package com.liyuxiang.controller;

import com.liyuxiang.service.FriendLinkService;
import com.liyuxiang.vm.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/link")
public class FriendLinkController {

    @Autowired
    private FriendLinkService friendLinkService;

    @GetMapping("/getAllLink")
    public ResponseResult getAllLink() {
        return friendLinkService.getAllLink();
    }

}
